package cn.xej.health.archives.feign;

import cn.xej.health.common.utils.CommonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author xej
 */
@FeignClient("health-user")
public interface UserFeignService {

    /**
     * 获取用户信息
     * @param uuid
     * @return
     */
    @GetMapping("/user/getUser/{uuid}")
    public CommonResult getUser(@PathVariable("uuid")Integer uuid);
}
